/**
 * 组件
 * @author luguoxiang
 * @date 2025-05-03
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
import { createApi, request } from '@/soar';

export const basePath = '/system/component';
export const subject = '组件';
const api = createApi(basePath, subject);

export default {
  ...api,
  batchCreate: (data: any) => request.post(`${basePath}/batchCreate`, { data }),
  clearCache: () => request.post(`${basePath}/clear-cache`),
};
